package com.marisfrolg.entity.json;

import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Table;
import com.marisfrolg.entity.EntityBase;

@Table(name = "inbitem")
public class InbItem extends EntityBase{
	 /// <summary>
    /// 文档标识
    /// </summary>
	@Column(column = "docid")
    public String DOCID;
    /// <summary>
    /// 项目标识
    /// </summary>
	@Column(column = "itemid")
    public String ITEMID;
    /// <summary>
    /// 凭证编号
    /// </summary>
	@Column(column = "docno")
    public String DOCNO;
    /// <summary>
    /// 项目编号
    /// </summary>
	@Column(column = "itemno")
    public int ITEMNO;
    /// <summary>
    /// 存储类型
    /// </summary>
	@Column(column = "stotype")
    public String STOTYPE;
    /// <summary>
    /// 产品
    /// </summary>
	@Column(column = "productno")
    public String PRODUCTNO;
    /// <summary>
    /// 产品标识
    /// </summary>
	@Column(column = "productid")
    public String PRODUCTID;
	/// <summary>
    /// 数量
    /// </summary>
	@Column(column = "qty")
    public int QTY;
    /// <summary>
    /// 计量单位
    /// </summary>
	@Column(column = "uom")
    public String UOM;
    /// <summary>
    /// 产品的简短描述
    /// </summary>
	@Column(column = "maktx")
    public String MAKTX;
    /// <summary>
    /// 仓位
    /// </summary>
	@Column(column = "lgpla")
    public String LGPLA;
    /// <summary>
    /// 是否已归
    /// </summary>
	@Column(column = "co")
    public String CO;
	 /// <summary>
    /// 仓位类型
    /// </summary>
	@Column(column = "ltypt")
	public String LTYPT;
	
	public String getDOCID() {
		return DOCID;
	}
	public String getITEMID() {
		return ITEMID;
	}
	public String getDOCNO() {
		return DOCNO;
	}
	public int getITEMNO() {
		return ITEMNO;
	}
	public String getSTOTYPE() {
		return STOTYPE;
	}
	public String getPRODUCTNO() {
		return PRODUCTNO;
	}
	public String getPRODUCTID() {
		return PRODUCTID;
	}
	public void setDOCID(String dOCID) {
		DOCID = dOCID;
	}
	public void setITEMID(String iTEMID) {
		ITEMID = iTEMID;
	}
	public void setDOCNO(String dOCNO) {
		DOCNO = dOCNO;
	}
	public void setITEMNO(int iTEMNO) {
		ITEMNO = iTEMNO;
	}
	public void setSTOTYPE(String sTOTYPE) {
		STOTYPE = sTOTYPE;
	}
	public void setPRODUCTNO(String pRODUCTNO) {
		PRODUCTNO = pRODUCTNO;
	}
	public void setPRODUCTID(String pRODUCTID) {
		PRODUCTID = pRODUCTID;
	}
	public int getQTY() {
		return QTY;
	}
	public String getUOM() {
		return UOM;
	}
	public String getMAKTX() {
		return MAKTX;
	}
	public String getLGPLA() {
		return LGPLA;
	}
	public String getCO() {
		return CO;
	}
	public void setQTY(int qTY) {
		QTY = qTY;
	}
	public void setUOM(String uOM) {
		UOM = uOM;
	}
	public void setMAKTX(String mAKTX) {
		MAKTX = mAKTX;
	}
	public void setLGPLA(String lGPLA) {
		LGPLA = lGPLA;
	}
	public void setCO(String cO) {
		CO = cO;
	}
	/**
	 * @return the lTYPT
	 */
	public String getLTYPT() {
		return LTYPT;
	}
	/**
	 * @param lTYPT the lTYPT to set
	 */
	public void setLTYPT(String lTYPT) {
		LTYPT = lTYPT;
	}
	@Override
	public String toString() {
		String a=("X".equals(CO))?"已归":"未归";
		return "款号:"+PRODUCTNO+". 数量:"+QTY+"; "+a+"\n";
	}
}
